package com.rerun.service.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rerun.entity.PhoneLog;
import com.rerun.mapper.PhoneLogMapper;
import com.rerun.service.IPhoneLogService;

/**
 * The type College service.
 *
 * @author jun
 * @version v1.0
 * @since 2017 /9/25 16:49
 */
@Service
public class PhoneLogServiceImpl extends ServiceImpl<PhoneLogMapper,PhoneLog> implements IPhoneLogService {
	@Autowired
	private PhoneLogMapper phoneLogMapper;
	@Override
	public Page<PhoneLog> showPhoneLog(Page<PhoneLog> page,PhoneLog phoneLog) {
		
		EntityWrapper<PhoneLog> wrapper=new EntityWrapper<PhoneLog>();
	        page.setRecords(baseMapper.selectPage(page, wrapper));
		
		return  page;
	}

}
